#include <iostream>
#include <QCoreApplication>
#include <FlatpakRemoteList.h>

#define out qDebug()

using namespace Flatpak;

int main(int argc, char** argv) {

    QCoreApplication app(argc, argv);

    QString package = "com.github.neithern.g4music";
    auto ret = RemoteList().run();
    for (auto s : ret.split("\n"))
    {
        out << s;
        if (s.indexOf("Arch:")>0) {
            // out << s;
        }
    }
    return 0;
}